package com.hwadee.caixiang.service;

import java.util.List;

import com.hwadee.caixiang.entity.Order;
import com.hwadee.caixiang.entity.OrderItem;


public interface OrderService {
  
	Integer save(Order order);
    
	Integer saveOrderItem(OrderItem orderItem);
	
	Order findOrderByoid(Integer oids);
	
	List<OrderItem> findOrderItemByOid(Integer oids);
	
	void updateOrder(Order currOrder);
	
	List<Order> findOrderByUserId(Integer userId);

}
